#include<iostream>
using namespace std;
int main()
{
	float i;
	int count=0;
	cin >> i; 
	while(i>1)
	{
		count++;
		i/=2; 
	}
	cout << count;
	return 0;
}
